powered by
Maximum likelihood estimation of the the matrix normal distribution.
mn.mle(X)
A list including:
The runtime required for the whole fitting procedure.
The number of iterations required for the estimation of the U and V matrices.
The estimated mean matrix of the distribution, a numerical matrix of dimensions \(n \times p\).
The estimated covariance matrix associated with the rows, a numerical matrix of dimensions \(n \times n\).
The estimated covariance matrix associated with the columns, a numerical matrix of dimensions \(p \times p\).
A list with k elements (k is the sample size), k matrices of dimension \(n \ times p\) each.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
https://en.wikipedia.org/wiki/Matrix_normal_distribution#Definition
Pocuca N., Gallaugher M. P., Clark K. M. & McNicholas P. D. (2019). Assessing and Visualizing Matrix Variate Normality. arXiv:1910.02859.
dmn, rmn, ddplot
M <- as.matrix(iris[1:8, 1:4]) U <- cov( matrix( rnorm(100 * 8), ncol = 8 ) ) V <- cov( iris[1:50, 1:4] ) X <- rmn(200, M, U, V) mod <- mn.mle(X)
Run the code above in your browser using DataLab